package cn.jeeweb.web.modules.sys;

public class Constants {
	// 字典缓存KEY
	public static final String CACHE_DICT_MAP = "cacheDictMap";
	public static final String CURRENT_USER = "systemuser";
	public static final String CURRENT_USERNAME = "systemusername";
	public static final String SESSION_FORCE_LOGOUT_KEY = "session.force.logout";

	public static final String ERROR = "error";
	public static final String SUCCESS = "error";
	public static final String MESSAGE = "message";

	//角色
	public static final String AUDIT_ROLE = "audit";//设备审计员
	public static final String OPERATE_ROLE = "operator";//操作员
	public static final String STOREMAN_ROLE = "storeman";//仓库管理员

	//工装操作审核状态
	public static final String WAIT_AUDIT = "0";//待审核
	public static final String AGREE_AUDIT = "1";//通过
	public static final String REFUSE_AUDIT = "2";//拒绝
	public static final String FINISH_AUDIT = "4";//拒绝

	//申请类型
	public static final String RECEIVE_OPERATEAPPLYTYPE = "1";//领用申请
	public static final String REPAIR_OPERATEAPPLYTYPE = "2";//维修申请
	public static final String SCRAP_OPERATEAPPLYTYPE = "3";//报废申请
	public static final String IN_OPERATEAPPLYTYPE = "5";//入库申请
	public static final String OUT_OPERATEAPPLYTYPE = "4";//出库申请

	//备件申请类型
	public static final String IN_SPAREOPERATEAPPLYTYPE = "1";//入库申请
	public static final String OUT_SPAREOPERATEAPPLYTYPE = "2";//出库申请

	//工装种类
	public static final String INEUSEFIXTURE_CATALOG = "lineUseFixture";//在线在用工装
	public static final String LINESPAREFIXTURE_CATALOG = "lineSpareFixture";//在线备用工装
	public static final String WAREHOUSEFIXTURE_CATALOG= "warehouseFixture";//仓库工装
	public static final String REPAIRFIXTURE_CATALOG = "repairFixture";//报修工装

	//工装备件操作审核
	public static final String AUDITOPERATEAPPLY = "AUDITOPERATEAPPLY";//工装
	public static final String AUDITSPAREOPERATEAPPLY = "AUDITSPAREOPERATEAPPLY";//备件

}
